<%-- 
    Document   : addUserdo
    Created on : 2009-4-26, 14:38:26
    Author     : 47
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
String uname = request.getParameter("username");
String upass = request.getParameter("userpass");
String memo = request.getParameter("usermemo");
ljsystem.UserManager mgr=new ljsystem.UserManager();
boolean result=mgr.addNewUser(uname, upass, memo);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="/main/head.jspf" %>
        <title>添加用户组</title>
    </head>
    <body>
        <%@include file="/main/bodyhead.jspf" %>
        <br>
        <table align="center" border="1" cellpadding="2" cellspacing="0" width="600px"><tr><td>
                    <table align="center" border="1" cellpadding="0" cellspacing="0" width="800px">
                        <th class="maintitle">操作结果</th>
                        <tr>
                            <td><%=mgr.msg%></td>
                        </tr>
                        <tr class="controlline">
                            <td>
                                <input type="button" value="确定" onclick="window.location='userManager.jsp'">
                                <%if (!result) {%>
                                <input type="button" value="返回" onclick="window.history.go(-1)">
                                <%}%>
                            </td>
                        </tr>
                        <tr class="maintitle">
                            <td>&nbsp;</td>
                        </tr>
                    </table>
        </td></tr></table>
    </body>
</html>
